export interface State {
    user: {
        isLogin:boolean;
    }
    cartCount:number;
}

export const state:State= {
  user:{
      isLogin:window.localStorage.getItem('token') ? true: false,
  },
    cartCount:0,
}
